const orgs = require("../../sql/orgs");
const sql = require('../../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
    sql.set(orgs,{_id:req.fields._id},req.fields).then(()=>{
       res.send({
          code:0,
          msg:"编辑成功"
       })
    })
 }